package d4_implementation;

public class Mouse {
    private String name;
    @Override
    public void connect(){
        System.out.println(name + "成功的接入设备了~~");
    }
    public void click(){
        System.out.println(name + "点击，输入：666");
    }

    public Mouse(String name){
        this.name = name;
    }

    public String getName(){
        return name;
    }

    public void setName(String name){
        this.name = name;
    }
}
